# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :comment.py
# @Time      :2022/6/6 15:40
# @Author    :张志坤

from flask_restful import fields

comment_fields = {
    "cmid": fields.Integer,
    "user_id": fields.Integer,
    "article_id": fields.Integer,
    "parent_id": fields.Integer,
    "like_count": fields.Integer,
    "reply_count": fields.Integer,
    "content": fields.String,
    "is_top": fields.Integer,
    "status": fields.Integer,
    "ctime": fields.DateTime,
}
